package day2

object Test2 {
  def main(args: Array[String]): Unit = {
    var result = test1((i:Int,j:Int) => i+j,10,5 )
    println(result)
  }

  def test1(f1:(Int,Int) => Int,a1:Int,a2:Int):Int ={
    f1(a1,a2) * 2
  }
}
